Package AccessGrid :: Module AGServiceManager :: Class AGServiceManagerI
[show private | hide private]
[frames | no frames]

Class AGServiceManagerI

SOAPInterface --+
                |
               AGServiceManagerI


Interface Class for AGServiceManager

Method Summary
  __init__(self, impl)
This constructor for all SOAP Interfaces.
  AddService(self, serviceDescStruct, resourceStruct, serviceConfigStruct)
Interface to add a service to the service manager...
  AddServicePackage(self, serviceFile, resourceStruct, serviceConfigStruct)
  DiscoverResources(self)
Interface to discover local resources...
  GetAvailableServices(self)
Interface to get a list of AGServiceDescriptions representing...
  GetResources(self)
Interface to get a list of the resources known to the service manager...
  GetServices(self)
Interface to get a list of AGServiceDescriptions representing...
  RemoveService(self, serviceDescStruct)
Interface to remove a service from the service manager...
  RemoveServices(self)
Interface to remove the services on a service manager...
  Shutdown(self)
Interface to shut down the service manager...
  StopServices(self)
Interface to stop services on the service manager...
  _authorize(self, *args, **kw)
This is meant to be a base class for all SOAP interfaces, so it's going to default to disallow calls.
    Inherited from SOAPInterface
  _IsValid(self)
This method is here to support calls that just want to see if there is a valid server endpoint for communication from the client.
  IsValid(self)
This method is here to support calls that just want to see if there is a valid server endpoint for communication from the client.
  _GetCaller(self)
This method implements the guts of extracting the subject from the soap call.
  _GetContext(self)
This method implements the guts of extracting the subject and the action from the SOAP call.
  _GetMethodActions(self)
This method extracts all the methods and creates MethodActions for them, which means Authorization can be automatically loaded with actions for all the methods on an interface object.

Method Details

__init__(self, impl)
(Constructor)

This constructor for all SOAP Interfaces.

@param impl: an implementation object messages are routed to.
@type impl: a python object.
Overrides:
AccessGrid.hosting.SOAPInterface.SOAPInterface.__init__ (inherited documentation)

AddService(self, serviceDescStruct, resourceStruct, serviceConfigStruct)

Interface to add a service to the service manager

**Arguments:**
    *serviceDescription* description of the service to add
    *resourceToAssign* resource to assign to service
    *serviceConfig* configuration to apply to service after it's been added
    
**Raises:**
**Returns:**

DiscoverResources(self)

Interface to discover local resources

**Arguments:**
**Raises:**
**Returns:**

GetAvailableServices(self)

Interface to get a list of AGServiceDescriptions representing
the services available for installation

**Arguments:**
**Raises:**

**Returns:**
    a list of AGServiceDescriptions

GetResources(self)

Interface to get a list of the resources known to the service manager

**Arguments:**
**Raises:**

**Returns:**
    a list of the AGResources on the machine

GetServices(self)

Interface to get a list of AGServiceDescriptions representing
the services on the service manager

**Arguments:**
**Raises:**

**Returns:**
    a list of AGServiceDescriptions

RemoveService(self, serviceDescStruct)

Interface to remove a service from the service manager

**Arguments:**
    *serviceToRemove* A description of the service to remove
    
**Raises:**
**Returns:**

RemoveServices(self)

Interface to remove the services on a service manager

**Arguments:**
**Raises:**
**Returns:**

Shutdown(self)

Interface to shut down the service manager

**Arguments:**
**Raises:**
**Returns:**

StopServices(self)

Interface to stop services on the service manager

**Arguments:**
**Raises:**
**Returns:**

_authorize(self, *args, **kw)

This is meant to be a base class for all SOAP interfaces, so it's going
to default to disallow calls. Derived interfaces can tailor this to
suit their needs.

@return: 0, things are not authorized by default.
Overrides:
AccessGrid.hosting.SOAPInterface.SOAPInterface._authorize (inherited documentation)

Generated by Epydoc 2.1 on Mon Jan 09 13:23:48 2006 http://epydoc.sf.net